package com.google.ssm.dao;

import com.google.ssm.bean.CommentForm;
import com.google.ssm.bean.CommentFormExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommentFormMapper {
    long countByExample(CommentFormExample example);

    int deleteByExample(CommentFormExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CommentForm record);

    int insertSelective(CommentForm record);

    List<CommentForm> selectByExample(CommentFormExample example);

    CommentForm selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CommentForm record, @Param("example") CommentFormExample example);

    int updateByExample(@Param("record") CommentForm record, @Param("example") CommentFormExample example);

    int updateByPrimaryKeySelective(CommentForm record);

    int updateByPrimaryKey(CommentForm record);
}